package com.yanqu.road.entity.log.wealthscroll;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_wealth_scroll_reward_get",dataUpload = true,autoSave = true,uploadCk = true,eventName = "wealth_order",desc = "财神密卷领奖日志")
public class LogWealthScrollGetReward extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "期数",dataAttribute = "team_id")
    private int no;
    @FieldTypeAnnotation(desc = "任务类型",dataAttribute = "war_ordtype")
    private int taskType;
    @FieldTypeAnnotation(desc = "任务id",dataAttribute = "war_orderid")
    private int taskId;
    @FieldTypeAnnotation(desc = "获得奖励",dataAttribute = "item_get")
    private String getReward;
    @FieldTypeAnnotation(desc = "获得途径,1为领取2为补发")
    private int getWay;


    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public int getTaskType() {
        return taskType;
    }

    public void setTaskType(int taskType) {
        this.taskType = taskType;
    }

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    public String getGetReward() {
        return getReward;
    }

    public void setGetReward(String getReward) {
        this.getReward = getReward;
    }

    public int getGetWay() {
        return getWay;
    }

    public void setGetWay(int getWay) {
        this.getWay = getWay;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public LogWealthScrollGetReward(int activityId, long userId, int no, int taskType, int taskId, String getReward, int getWay) {
        this.activityId = activityId;
        this.userId = userId;
        this.no = no;
        this.taskType = taskType;
        this.taskId = taskId;
        this.getReward = getReward;
        this.getWay = getWay;
    }
}
